//
//  LNViewController.h
//  LNBeeHive
//
//  Created by wwww on 2019/9/30.
//  Copyright © 2019 淘发现1iOS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LNViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface LNViewController : UIViewController

@property(nonatomic,strong,readonly) UIPercentDrivenInteractiveTransition *interactivePopTransition;

// The `viewModel` parameter in `-initWithViewModel:` method.
@property (nonatomic,readonly,strong) LNViewModel *viewModel;

//截图 （Push/Pop Present/Dismiss 过度过程中的缩略图）
@property (nonatomic,readwrite,strong) UIView *snapshot;

/// Returns a new view.
- (instancetype)initWithViewModel:(LNViewModel *)viewModel;

/// Binds the corresponding view model to the view.(绑定数据模型)
- (void)bindViewModel;

@end

NS_ASSUME_NONNULL_END
